Include <X11/Xutil.h> in gdkdnd-x11.c
authorJavier Jardón <jjardon@gnome.org>
Thu, 8 Apr 2010 15:46:45 +0000 (17:46 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 18 Apr 2010 17:54:22 +0000 (19:54 +0200)
Otherwise, inclusion of shape.h triggers an unknown type error
for Region, and compile fails, at least in Solaris.

Reported by Philip Brown here:
https://bugzilla.gnome.org/show_bug.cgi?id=615028

gdk/x11/gdkdnd-x11.c

index 60adca0d3e4a7a44c395468fff0b5a3a7dd05657..4b7fd851493a1b44a83047f8e8420efb080473bb 100644 (file)
@@ -25,7 +25,9 @@
  */
 
 #include "config.h"
+
 #include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/extensions/shape.h>